package org.robot.pojo;

import java.io.Serializable;
/***
 * 任务pojo
 * @author dongqi
 * @date 2018-03-13
 */
public class Task implements Serializable {
	private static final long serialVersionUID = -318991911431018455L;
	/**
	 * 任务ID
	 */
	private Long pid;
	/**
	 * 站点url
	 */
	private String webSite;
	/**
	 * 站点描述
	 */
	private String description;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 爬取网站间隔时间
	 */
	private Long interval;
	/**
	 * 登陆地址后面参数带 loginName和pwd
	 */
	private String loginUrl;

	/**
	 * 该任务所属用户
	 */
	private Long userId;
	

	/**
	 * 任务添加时间
	 */
	private String taskTime;
	/**
	 * 任务开始时间
	 */
	private String taskStartTime;
	/**
	 * 任务结束时间
	 */
	private String taskEndTime;
	/**
	 * 是否删除
	 */
	private Long remove;

	/**
	 * 任务状态
	 * 1.正在爬取，2爬取完成，3.更新
	 */
	private Long taskStatus;

	/**
	 * 更新详情（记录更新时间，更新个数）
	 */
	private String updateTaskDetail;

	/**
	 * 出版社
	 */
	private String publishing;
	/***
	 * 出本社地址
	 */
	private String publishingUrl;

	/***
	 * 推送数据状态  1未推送，2已经推送
	 */
	private Long dataStatus;
	/**
	 * 任务自动更新时间
	 * 过多长时间后自动更新数据
	 */
	private Long autoUpdateDay;

	/**
	 * 是否是open access
	 * @return
	 */
	private Long isOa;
	/**
	 * 是否自动上传 1自动 0不自动
	 */
	private Long isAutoUpload;
	/**
	 * 是否需要上传pdf
	 */
	private Long isUploadPdf;

	
	public Long getAutoUpdateDay() {
		return autoUpdateDay;
	}
	public void setAutoUpdateDay(Long autoUpdateDay) {
		this.autoUpdateDay = autoUpdateDay;
	}
	public Long getIsOa() {
		return isOa;
	}
	public void setIsOa(Long isOa) {
		this.isOa = isOa;
	}
	public Long getPid() {
		return pid;
	}
	public void setPid(Long pid) {
		this.pid = pid;
	}
	public String getWebSite() {
		return webSite;
	}
	public void setWebSite(String webSite) {
		this.webSite = webSite;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getInterval() {
		return interval;
	}

	public void setInterval(Long interval) {
		this.interval = interval;
	}

	public String getTaskTime() {
		return taskTime;
	}

	public void setTaskTime(String taskTime) {
		this.taskTime = taskTime;
	}

	public String getTaskStartTime() {
		return taskStartTime;
	}

	public void setTaskStartTime(String taskStartTime) {
		this.taskStartTime = taskStartTime;
	}

	public String getTaskEndTime() {
		return taskEndTime;
	}

	public void setTaskEndTime(String taskEndTime) {
		this.taskEndTime = taskEndTime;
	}

	public Long getRemove() {
		return remove;
	}

	public void setRemove(Long remove) {
		this.remove = remove;
	}

	
	public Long getTaskStatus() {
		return taskStatus;
	}

	public void setTaskStatus(Long taskStatus) {
		this.taskStatus = taskStatus;
	}

	public String getLoginUrl() {
		return loginUrl;
	}

	public void setLoginUrl(String loginUrl) {
		this.loginUrl = loginUrl;
	}

	public String getUpdateTaskDetail() {
		return updateTaskDetail;
	}

	public void setUpdateTaskDetail(String updateTaskDetail) {
		this.updateTaskDetail = updateTaskDetail;
	}

	public String getPublishing() {
		return publishing;
	}

	public void setPublishing(String publishing) {
		this.publishing = publishing;
	}

	public String getPublishingUrl() {
		return publishingUrl;
	}

	public void setPublishingUrl(String publishingUrl) {
		this.publishingUrl = publishingUrl;
	}

	public Long getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Long dataStatus) {
		this.dataStatus = dataStatus;
	}

	public Long getIsAutoUpload() {
		return isAutoUpload;
	}

	public void setIsAutoUpload(Long isAutoUpload) {
		this.isAutoUpload = isAutoUpload;
	}

	public Long getIsUploadPdf() {
		return isUploadPdf;
	}

	public void setIsUploadPdf(Long isUploadPdf) {
		this.isUploadPdf = isUploadPdf;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
}
